﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace WR.FM.Helper
{
    /// <summary>
    /// 配置文件帮助类
    /// </summary>
    public static class ConfigHelper
    {
        /// <summary>
        /// 获取appSettings节点下的配置
        /// </summary>
        /// <param name="name">配置名称</param>
        /// <returns>配置值</returns>
        public static string GetConfigStr(string name)
        {
            return ConfigurationManager.AppSettings[name];
        }
    }
}
